/*
 * @Author: malgee
 * @Date: 2025-04-23 13:46:46
 * @LastEditors: maling
 * @LastEditTime: 2025-04-23 13:57:22
 * @FilePath: /vue3-ts-cms/src/store/types.ts
 * @Description: 
 * 
 */

import { ILoginState } from "./login/types";
import { ISystemState } from "./main/system/types";

// 主状态
export interface IRootState {
  name: string
  password: string
}

// 模块状态
export interface IModuleState {
  login: ILoginState
  system: ISystemState
}


// 全部状态类型
export type IStateType = IRootState & IModuleState